<!--<!DOCTYPE html>-->
<html class="bg-black">
    <head>
        <meta charset="UTF-8">
        <title>AdminLTE | Log in</title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <!-- bootstrap 3.0.2 -->
        <link href="/static/adminlte/adminlte_v1/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <!-- font Awesome -->
        <link href="/static/adminlte/adminlte_v1/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="/static/adminlte/adminlte_v1/AdminLTE.css" rel="stylesheet" type="text/css" />

        <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
          <script src="/static/adminlte/adminlte_v1/html5shiv.js"></script>
          <script src="/static/adminlte/adminlte_v1/respond.min.js"></script>
        <![endif]-->
    </head>
    <body class="bg-black">

        <div class="form-box" id="login-box">
            {% if success %}
            <div class="margin text-center">
                <div class="alert alert-danger">
                    <p>提示 : {{ success['message'] }}</p>
                </div>
            </div>
            {% endif %}
            <div class="header">欢迎登录</div>
            <form action="/login" method="post">
                <div class="body bg-gray">
                    <div class="form-group">
                        <input type="text" name="username" class="form-control" placeholder="Full ame"/>
                    </div>
                    <div class="form-group">
                        <input type="password" name="password" class="form-control" placeholder="Password"/>
                    </div>
                    <div class="form-group">
                        <input type="checkbox" name="remember_me"/> 记住我
                    </div>
                </div>
                <div class="footer">
                    <button type="submit" class="btn bg-olive btn-block">登录</button>

                    <p><a href="#">忘记了密码</a></p>

                    <a href="/register" class="text-center">注册</a>
                </div>
            </form>
            {% if error %}
            <div class="margin text-center">
                <div class="alert alert-danger">
                    <p>提示 : {{ error['message'] }}</p>
                </div>
            </div>
            {% endif %}

            <!--<div class="margin text-center">-->
                <!--<span>Sign in using social networks</span>-->
                <!--<br/>-->
                <!--<button class="btn bg-light-blue btn-circle"><i class="fa fa-facebook"></i></button>-->
                <!--<button class="btn bg-aqua btn-circle"><i class="fa fa-twitter"></i></button>-->
                <!--<button class="btn bg-red btn-circle"><i class="fa fa-google-plus"></i></button>-->
            <!--</div>-->
        </div>


        <!-- jQuery 2.0.2 -->
        <script src="/static/adminlte/adminlte_v1/jquery-3.1.1.js"></script>
        <!-- Bootstrap -->
        <script src="/static/adminlte/adminlte_v1/bootstrap.min.js" type="text/javascript"></script>

    </body>
</html>